package com.fanqiechaodan.strategy;

/**
 * @author fanqiechaodan
 * @Classname WechartPayment
 * @Description 微信支付
 */
public class WechatPayment implements PaymentStrategy {

    private String username;

    private String password;

    public WechatPayment(String username, String password) {
        this.username = username;
        this.password = password;
    }

    /**
     * 支付
     *
     * @param amount
     */
    @Override
    public void pay(double amount) {
        System.out.println("微信支付:" + amount + "元");
    }
}
